Bt.QuickTip = Ext.extend(Ext.QuickTip,{
	
	//Overrides {
		
		 onTargetOver	: Ext.emptyFn
		,onTargetOut	: Ext.emptyFn
		,onMouseMove	: Ext.emptyFn
		
		,showAt: function()
		{
			if(this.anchor)
			{
	            // pre-show it off screen so that the el will have dimensions
	            // for positioning calcs when getting xy next
	            Bt.QuickTip.superclass.showAt.call(this,[-1000,-1000]);
	            this.origConstrainPosition = this.constrainPosition;
	            this.constrainPosition = false;
	            this.anchor = this.origAnchor;
	        }
			
			//super
			Bt.QuickTip.superclass.showAt.apply(this,arguments);
			
			if(this.anchor){
	            this.syncAnchor();
	            this.anchorEl.show();
	            this.constrainPosition = this.origConstrainPosition;
	        }else{
	            this.anchorEl.hide();
	        }
		}
	
	//}
	
	//Acessores {
	
		,setText: function(text)
		{
			if(this.text === text)
				return;
				
			this.text = text;
			
			if(this.rendered)
				this.body.update(text);
		}
		
		,setAnchor: function(anchor)
		{
			if(this.anchor === anchor)
				return;
				
			//remove
			this.anchorEl.removeClass('x-tip-anchor-'+this.getAnchorPosition());
			
			//update
			this.anchor = this.origAnchor = anchor;
			this.tipAnchor = this.anchor.charAt(0);
			this.anchorCls = 'x-tip-anchor-'+this.getAnchorPosition();
			this.anchorEl.addClass(this.anchorCls);
		}
	
	//}
	
	
});